from common.locate_by import By

class LocLayoutList:

    loc_checkbox = {
        "loc_role": By.checkbox,
        "loc_name": "",
    }

    loc_add = {
        "loc_role": By.button,
        "loc_name": "新 增",
    }

    loc_delete = {
        "loc_role": By.button,
        "loc_name": "删 除",
    }

    loc_search = {
        "loc_role": By.button,
        "loc_name": "查 询",
    }

    loc_reset = {
        "loc_role": By.button,
        "loc_name": "重 置",
    }

    loc_detail = {
        "loc_role": By.button,
        "loc_name": "查 看",
    }

    loc_edit = {
        "loc_role": By.button,
        "loc_name": "编 辑",
    }

    loc_sure = {
        "page_role": By.dialog,
        "page_title": "提示",
        "loc_role": By.button,
        "loc_name": "确定",
    }

    loc_cancel = {
        "page_role": By.dialog,
        "page_title": "提示",
        "loc_role": By.button,
        "loc_name": "取消",
    }

    loc_close = {
        "page_role": By.dialog,
        "page_title": "提示",
        "loc_role": By.button,
        "loc_name": "关闭此对话框",
    }


    loc_search_name = {
        "loc_role": By.textbox,
        "loc_name": "内部区域名称:",
    }
    loc_search_area_type = {
        "loc_role": By.combobox,
        "loc_name": "内部区域类型:",
    }

    loc_enterprise_id = {
        "loc_role": By.columnheader,
        "loc_name": "单位名称:",
    }

    loc_area_code = {
        "loc_role": By.columnheader,
        "loc_name": "行政区域:",
    }

    loc_name = {
        "loc_role": By.columnheader,
        "loc_name": "内部区域名称:",
    }

    loc_area_type = {
        "loc_role": By.columnheader,
        "loc_name": "内部区域类型:",
    }

    loc_linkman = {
        "loc_role": By.columnheader,
        "loc_name": "联系人:",
    }

    loc_contact_information = {
        "loc_role": By.columnheader,
        "loc_name": "联系方式:",
    }

    loc_update_user = {
        "loc_role": By.columnheader,
        "loc_name": "更新人:",
    }
